package com.j48.entrancegurad.model;


import java.sql.Timestamp;

/**
 * admin_id 管理员编号；
 * admin_username 管理员账号；
 * admin_password 管理员密码；
 * admin_name 管理员姓名；
 * admin_phone 管理员电话；
 * admin_createtime 创建时间；
 * admin_lasttime 最后登录时间；
 * admin_status 状态；
 */
public class Admin {
    private int admin_id;//管理员编号
    private String admin_username;//管理员账号
    private String admin_password;//管理员密码
    private String admin_name;//管理员姓名
    private long admin_phone;//管理员电话
    private Timestamp admin_createtime;//创建时间
    private Timestamp admin_lasttime;//最后登录时间
    private int admin_status;//状态
    private int admin_login;
    public Admin(int admin_id){
        this.admin_id=admin_id;
    }
    public Admin(Admin admin){
        this.admin_id=admin.admin_id;
        this.admin_username=admin.admin_username;
        this.admin_password=admin.admin_password;
        this.admin_name=admin.admin_name;
        this.admin_phone=admin.admin_phone;
        this.admin_createtime=admin.admin_createtime;
        this.admin_lasttime=admin.admin_lasttime;
        this.admin_status=admin.admin_status;
    }
    public Admin(String admin_username, String admin_password, String admin_name, long admin_phone, Timestamp admin_createtime) {
        this.admin_username = admin_username;
        this.admin_password = admin_password;
        this.admin_name = admin_name;
        this.admin_phone = admin_phone;
        this.admin_createtime = admin_createtime;
    }
    public Admin() {
    }

    public int getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }

    public String getAdmin_username() {
        return admin_username;
    }

    public void setAdmin_username(String admin_username) {
        this.admin_username = admin_username;
    }

    public String getAdmin_password() {
        return admin_password;
    }

    public void setAdmin_password(String admin_password) {
        this.admin_password = admin_password;
    }

    public String getAdmin_name() {
        return admin_name;
    }

    public void setAdmin_name(String admin_name) {
        this.admin_name = admin_name;
    }

    public long getAdmin_phone() {
        return admin_phone;
    }

    public void setAdmin_phone(long admin_phone) {
        this.admin_phone = admin_phone;
    }

    public Timestamp getAdmin_createtime() {
        return admin_createtime;
    }

    public void setAdmin_createtime(Timestamp admin_createtime) {
        this.admin_createtime = admin_createtime;
    }

    public Timestamp getAdmin_lasttime() {
        return admin_lasttime;
    }

    public void setAdmin_lasttime(Timestamp admin_lasttime) {
        this.admin_lasttime = admin_lasttime;
    }

    public int getAdmin_status() {
        return admin_status;
    }

    public void setAdmin_status(int admin_status) {
        this.admin_status = admin_status;
    }

    public int getAdmin_login() {
        return admin_login;
    }

    public void setAdmin_login(int admin_login) {
        this.admin_login = admin_login;
    }
}
